﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Skynet.BusinessEntities;

namespace Skynet.BusinessLogic.DataAccess
{
    public interface IAlternativeRepository
    {
        void Add(BusinessEntities.BaseAlternative alt);
        void Update(BusinessEntities.BaseAlternative alt);

        BusinessEntities.BaseAlternative DesignAlternative(Guid AlternativeId);

        LinkedList<BusinessEntities.BaseAlternative> DesignAlternativesByQuestionId(Guid QuestionId);
        LinkedList<BusinessEntities.BaseAlternative> RuntimeAlternativesByQuestionId(Guid CustomerQuestionId);
        LinkedList<BusinessEntities.BaseAlternative> CalificationAlternativesByCustomerQuestionId(Guid CustomerQuestionId);

        void AddRuntimeAlternative(BusinessEntities.BaseAlternative alt);

        
        void LoadCustomerAnswer(ref BusinessEntities.BaseAlternative alt);
        void LoadDesignAlternative(ref BusinessEntities.BaseAlternative alt);
        


        void UpdateCustomerAnswer(BaseAlternative alt);
    }
}
